

#ifndef _SHELL_REQWDJLOGIN_MESSAGE_H_
#define _SHELL_REQWDJLOGIN_MESSAGE_H_

#include "Message.h"
#include "Beans.h"
using namespace std;

class ReqWDJLoginMessage : public Message
{
	public:
	ReqWDJLoginMessage();
	~ReqWDJLoginMessage();
	void reset();
	ReqWDJLoginMessage* clone();
	static const int _ID;
	//登录成功返回的uid
	std::string uid;
	//登录成功返回的token
	std::string token;
	
	bool read_from(ByteBuf& buf);
    bool write_to(ByteBuf& buf);
    int getId();
};

#endif
